<!DOCTYPE HTML>
<html>

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=11,IE=10,IE=9,IE=8">
  <meta name="viewport"
    content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
  <title>优点达资讯-分享那些新鲜事</title>
  <link rel='stylesheet' href='static/css/style.css' type='text/css' media='all' />
  <link rel="stylesheet" href="./static/fonts/css/font-awesome.min.css">
  <!-- 引入 layui.css -->
  <link rel="stylesheet" href="//unpkg.com/layui@2.6.8/dist/css/layui.css">

  <script src="//unpkg.com/layui@2.6.8/dist/layui.js"></script>
  <script type='text/javascript' src='static/js/jquery.js'></script>
  <script src="./static/js/axios.min.js"></script>
  <script src="./static/js/web-ajaxBase.js"></script>
  <script src="./lib/template-web.js"></script>
  <script src="./static/js/user-collect.js"></script>
  <meta name="keywords" content="">
  <meta name="description" content="">
  <!--[if lt IE 9]><script src="static/js/html5.js"></script><![endif]-->
</head>

<body class="user blog search_not m-home-most ui-navtop">

  <!-- 头部开始 -->
  <header class="header">
    <div class="container">
      <h1 class="logo"> <a href="index.html" title="优点达资讯-分享那些新鲜事">
          <img src="static/images/logo.png" alt="优点达资讯">优点达资讯
        </a></h1>
      <ul class="nav" id="index-nav">
        <li class="navmore"></li>
        <li class="menu-item menu-item-type-taxonomy menu-item-object-category ">
          <a title="" href="index.html"><span class="fa fa-home"></span>趣·首页</a>
        </li>
        <!-- <li class="menu-item menu-item-type-taxonomy menu-item-object-category current-menu-item current_page_item"><a
              href="list.html"><span class="fa fa-bullhorn"></span>奇·趣事</a></li>
          <li class="menu-item menu-item-type-taxonomy menu-item-object-category"><a href="list.html"><span
                class="fa fa-bullhorn"></span>奇·趣事</a></li>
          <li class="menu-item menu-item-type-taxonomy menu-item-object-category"><a href="list.html"><span
                class="fa fa-bullhorn"></span>奇·趣事</a></li> -->
      </ul>
      <div class="slinks notlogin">
        <a href="login.html"><i class="fa fa-hand-o-right"></i>&nbsp;登录</a> |
        <a href="reg.html"><i class="fa fa-registered"></i>&nbsp;注册</a>
      </div>

      <div class="slinks logined">
        <a href="./user-edit.html" class="router-link-exact-active router-link-active" aria-current="page"><i
            class="fa fa-user"></i>&nbsp; 您好<span class="username"></span>，</a>
        <a href="" class="fa fa-sign-out"></a>
      </div>
      <!-- 移动端兼容 -->
      <a href="login.html" class="user"><i class="fa fa-user"></i></a>
      <!-- 点击该图标的时候判断是否登录了，决定是否进入用户中心，否则进入登录页 -->
    </div>
  </header>
  <!-- 头部结束 -->

  <!-- 主体内容 -->

  <section class="container">
    <div class="user-box">
      <div class="lt">
        <h3>用户中心</h3>
        <ul class="list-group">
          <li class="list-group-item"> <a href="user.html"><i class="fa fa-home"></i> 我的首页</a></li>
          <li class="list-group-item"> <a class="active" href="user-collect.html"><i class="fa fa-heart"></i> 我的收藏</a>
          </li>
          <li class="list-group-item"> <a href="user-add.html"><i class="fa fa-plus"></i> 发布文章</a></li>
          <li class="list-group-item"> <a href="user-zan.html"><i class="fa fa-thumbs-up"></i> 我的点赞</a></li>
          <li class="list-group-item"> <a href="user-list.html"><i class="fa fa-tasks"></i> 我的文章</a></li>
        </ul>
      </div>
      <div class="rt">
        <!-- 我的收藏 -->
        <div class="user-collect">
          <div class="user-location">
            <a href="user.html"><i class="fa fa-home"></i>用户中心 </a> &gt;
            <span>我的收藏</span>
          </div>
          <div class="list-box" id="list_box">


          </div>
        </div>
      </div>
    </div>
  </section>
  <!-- 主体结束 -->

    <!-- 页脚开始 -->
    <footer class="footer">
      <div class="link">
        友情链接：
        <a href="" title="百度">百度</a> <span>|</span>
        <a href="" title="百度">百度</a> <span>|</span>
        <a href="" title="百度">百度</a> <span>|</span>
        <a href="" title="百度">百度</a> <span>|</span>
        <a href="" title="百度">百度</a> <span>|</span>
        <a href="" title="百度">百度</a> <span>|</span>
        <a href="" title="百度">百度</a> <span>|</span>
        <a href="" title="百度">百度</a> <span>|</span>
        <a href="" title="百度">百度</a>
      </div>
      <p>&copy; 2021 <a href="http://blog.weknow.cn">优点达资讯,</a>
        &nbsp;&nbsp;联系邮箱：xxxx@163.com
        &nbsp;&nbsp; <a href="">备案号信息</a>
      </p>
    </footer>
    <!-- 页脚结束 -->
    <!-- <script type="text/html" id="tpl-nav">
    <li class="navmore"></li>
    <li class="menu-item menu-item-type-taxonomy menu-item-object-category current-menu-item current_page_item">
        <a title="" href="index.html"><span class="fa fa-home"></span>趣·首页</a>
    </li>
    {{each data.allCate}}
    <li class="menu-item menu-item-type-taxonomy menu-item-object-category"><a href="list.html"><span
      class="fa {{$value.icon}}"></span>{{$value.catename}}</a></li>
    {{/each}}

  </script> -->


<script type="text/html" id="list-box">
  {{each list.data}}
  <article class="excerpt excerpt-one">
    <header>
      <a class="cat label label-important" href="">{{$value.catename}}<i class="label-arrow"></i></a>
      <h2>
        <a target="_blank" href="show.html" title="阿里云拼团推荐服务器">{{$value.title}}</a>
      </h2>
    </header>
    <p class="text-muted time">
      <a href="">{{$value.author}}</a> 
    </p>
    <p class="focus">
      <a target="_blank" href="http://blog.weknow.cn/474.shtml" class="thumbnail">
        <span class="item"><span class="thumb-span"><img src="http://122.51.249.55:8060/{{$value.pic}}"
              class="thumb" /></span></span></a>
    </p>
    <p class="note">{{$value.description}}
    </p>
    <p class="text-muted views">
      <span class="post-views">阅读({{$value.click}})</span>
      <span class="post-comments">评论(0)</span>
      <a href="javascript:;" class="post-like">
        <i class="fa fa-thumbs-up"></i>赞 (<span>{{$value.lovenum}}</span>)
      </a>
      <span class="post-tags">标签：
        <a href="" rel="tag">{{$value.catename}}</a> /
        <a href="" rel="tag">{{$value.keywords}}</a></span>
<button class="btn btn-xs btn-danger"  data-id={{$value.id}}><i class="fa fa-trash"></i>&nbsp;取消收藏</button>
    </p>
  </article>
  {{/each}}
</script>
</body>

</html>